﻿@{
    Layout = null;
}
<!DOCTYPE html> 
<html>
    <head>
        <title>@Language.Get("彩宝管理")</title>
         @Html.Partial("commonMeta")
		<link rel="stylesheet" href="~/css/product_add.css?v=@Wholesaler.Common.Version.Get">
    </head>
    <body>
    	<div class="views">
			<div class="view view-main">
				<div class="navbar">
					<div class="navbar-inner">
						@* 头部start *@
			            <header id="common_header">
			                <a class="menu_icon_box" href="javascript:history.go(-1);">
								<b class="back-btn"></b>
							</a>
			                <h2 id="page_title">@Language.Get("彩宝新增")</h2>
			            </header>
			            @* 头部end *@
						<!--<div class="term_btn show_term_btn">
							<a href="javascript:history.go(-1)">返回</a>
						</div>-->
			
			            @* 引入菜单 *@
			            @Html.Partial("teammenu")
					</div>
			    </div> 
			    <div class="toolbar toolbar-bottom">
			    	<div class="toolbar-inner form_btn">
			    		<a href="#" class="reset_btn" id="reset_btn">@Language.Get("重置")</a>
			     		<a href="#" class="submit_btn" id="submit_btn">@Language.Get("确定")</a>
					</div>
				</div>
				<div class="pages navbar-through toolbar-through">
		          	<div data-page="index" class="page">
						<div class="page-content" id="app_no_header">
							<!--内容区start-->
							
                			 <article>
                <div class="product_bg">
                	<div class="image_box">
                		<div class="img-box full">
							<section class="img-section">
								<p class="up-p">@Language.Get("上传图片")：<span class="up-span">@Language.Get("最多可以上传5张图片，支持多张图片上传")</span></p>
								<div class="z_photo upimg-div clear" id="img_box">
									<div id="img_upding_now" class="img_upding_now" >
										<img src="~/Images/loading.gif" />
										<em>@Language.Get("上传中")....</em>
									</div>
									<section class="z_file fl">
										<img src="/images/a11.png" class="add-img">
										<input type="file" name="file" id="file" class="file" value="" accept="image/jpg,image/jpeg,image/png,image/bmp" multiple />
									</section>
								</div>
							</section>

							<section class="img-sections">
								<p class="up-p">@Language.Get("上传视频")></p>
								<div class="z_photo upimg-div clear" id="video_box">
									<div id="video_upding_now" class="img_upding_now">
										<img src="~/Images/loading.gif" />
										<em>@Language.Get("上传中")....</em>
									</div>
									<section class="z_file fl video_one" onclick="videofile(this)">
										<img src="/images/a11.png" class="add-img">
									</section>
								</div>
							</section>

						</div>
						<aside class="mask works-mask">
							<div class="mask-content">
								<p class="del-p">@Language.Get("您确定要删除图片吗？")</p>
								<p class="check-p"><span class="del-com wsdel-ok">@Language.Get("确定")</span><span class="wsdel-no">@Language.Get("取消")</span></p>
							</div>
						</aside>
						<aside class="mask tip_box" id="tip_box">
							<div class="mask-content tip_content">
								<p class="del-p tip_content" id="tip_content"></p>
								<p class="check-p"><span class="wsdel-no" id="close_tip_btn">@Language.Get("确定")</span></p>
							</div>
						</aside>
                	</div>
					<form name="gemForm" id="form_data" class="form_box" method="post" enctype='application/json'>
						<input type="text" id="id_input" style="display: none;"/> 
						<div class="form_control category">
							<label for="Category">@Language.Get("主石类型")：</label>
							
							<div id="data_category">
							</div>	
							<input type="text" name="Category" id="Category" value="1" style="display: none;"/>
							<input type="text" name="Images" id="Images" style="display: none;"/>
						</div>	
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("货号")：</label>
							<input type="text" placeholder="@Language.Get("货号")" name="OriginSN"/>
						</div>
						<div class="form_control" id="data_shape_box">
							<label><b class="no_null">*</b>@Language.Get("形状")：</label>
							<select name="Shape" id="data_shape"></select>
						</div>
						<div class="form_control" id="data_color_box">
							<label><b class="no_null">*</b>@Language.Get("颜色")：</label>
							<select name="Color" id="data_color"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("产地")：</label>
							<select name="Place" id="data_place"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("重量")：</label>
							<input type="number" placeholder="@Language.Get("重量")" name="Weight" id="Weight"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("切工")：</label>
							<select name="Cut" id="data_cut"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("切工方式")：</label>
							<select name="CutMethod" id="data_cutmethod"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("证书类型")：</label>
							<select name="CertType" id="data_cert"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("证书号")：</label>
							<input type="text" placeholder="@Language.Get("证书号")" name="CertNo"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("尺寸")：</label>
							<input type="text" placeholder="@Language.Get("尺寸")" name="Measurement"/>
						</div>
						
						
						<div class="form_control exchangeRate">
							<label>@Language.Get("汇率")：</label>
							<span id="rate" style="display: inline-block;line-height: 30px;"></span>
						</div>
						<div class="form_control CurrentRMB">
							<label>-/Ct：</label>
							<input type="number" id="rmb_per_input" placeholder="@Language.Get("单价/人民币")"  name="PriceCarat"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>$/Ct：</label>
							<input type="number" placeholder="@Language.Get("单价/美金")" id="usd_per_input"/>
						</div>
						<div class="form_control CurrentRMB">
							<label>-/Pcs：</label>
							<input type="number" id="rmb_input" placeholder="@Language.Get("总价/人民币")"  name="Price"/>
						</div>
						<div class="form_control CurrentUSD">
							<label>$/Pcs：</label>
							<input type="number" placeholder="@Language.Get("总价/美金")" id="usd_input"/>
						</div>																	
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("状态")：</label>
							<select name="Status" id="data_status"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("上架状态")：</label>
							<label for="OnShelves" class="point_label">
								<input type="radio" name="OnShelves" value="1" id="OnShelves" checked="checked"/>@Language.Get("上架")
							</label>
							<label for="OffShelves" class="point_label">
								<input type="radio" name="OnShelves" value="0" id="OffShelves" />@Language.Get("下架")
							</label>							
						</div>

						<!--公共部分start-->
						<div class="form_control">
							<label>@Language.Get("采购供应商")：</label>
							<input type="text" name="PurchaseSupplier" placeholder="@Language.Get("采购供应商")"/>
						</div>
						<div class="form_control CurrentRMB">
							<label>@Language.Get("采")￥：</label>
							<input type="number" name="PurchaseRMB" placeholder="@Language.Get("采购")￥" id="purchaseRMB"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("采购汇率")：</label>
							<input name="PurchaseExchange" id="purchaseExchange" placeholder="@Language.Get("采购汇率")"></select>
						</div>
						<div class="form_control CurrentUSD">
							<label>@Language.Get("采")$：</label>
							<input type="number" name="PurchaseUSD" placeholder="@Language.Get("采购")$" id="purchaseUSDPerGrain"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("发货时间")：</label>
							<input type="text" name="ShipTime" placeholder="@Language.Get("选择日期")" readonly id="data_ShipTime">
						</div>
						<div class="form_control"> <!-- 买入时间-->
							<label>@Language.Get("买入时间")：</label>
							<input type="text" name="PurchaseTime" placeholder="@Language.Get("买入时间")" readonly id="data_PurchaseTime">
						</div>
						<div class="form_control">
							<label>@Language.Get("到货时间")：</label>
							<input type="text" name="ArrivalTime" placeholder="@Language.Get("选择日期")" readonly id="data_ArrivalTime">
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("付款")：</label>
							<select name="ReceiptStatus" id="data_recStatus"></select>
						</div>


						<!--公共部分end-->


						<div class="form_control">
							<label>@Language.Get("备注")：</label>
							<textarea name="Comments"></textarea>
						</div>
						<!--<div class="btn_box">
							<input id="reset_btn" type="reset" value="重置"/>
							<input type="submit"  value="确定"/>
						</div>-->
					</form>
                </div>
         </article>

		                
		                <!--内容区end-->
		                
        			 </div>
		       		</div>
		       </div>
			</div>
		</div>

    	


        @* 加载中start *@
          <div class="loading">
              <img src="~/Images/loading.gif" />
              <em>@Language.Get("正在加载中")....</em>
          </div>
        @* 加载中end *@

    </body>
    
</html>
@Html.Partial("commonTeamJs")
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/Js/jquery.form.js"></script>
<script src="~/js/imgUp.js"></script>
<script src="~/js/productFormat.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
<script>
    var calendarDateFormat = myApp.calendar({
        input: '#data_ShipTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
    });
    var calendarDateFormat = myApp.calendar({
        input: '#data_PurchaseTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
    });
    var calendarDateFormat = myApp.calendar({
        input: '#data_ArrivalTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
    });
</script>
<script src="~/js/team/gem_form.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
